package com.auxgroup.smarthome.business.service;

import com.auxgroup.bridge.app.inner.vo.DeviceInfoNewVo;
import com.auxgroup.bridge.business.inner.vo.DeviceExportDataVo;
import com.auxgroup.bridge.business.inner.vo.DeviceListVo;
import com.auxgroup.smarthome.business.service.inner.DeviceInnerService;
import com.auxgroup.smarthome.syscode.BusinessCode;
import com.auxgroup.smarthome.utils.PageContent;
import com.auxgroup.smarthome.web.ApiResponse;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @Author: laiqiuhua.
 * @Date: 2017/8/16 17:35.
 */
@Component
public class DeviceInnerServiceFallback implements DeviceInnerService {
    @Override
    public ApiResponse<PageContent<DeviceListVo>> getDeviceList(String modelId, String keywords, String deviceStatus, Integer page, Integer size) {
        return ApiResponse.prompt(BusinessCode.FAIL);
    }

    @Override
    public ApiResponse<List<DeviceListVo>> getDeviceListByNoPage(String modelId, String keywords, String deviceStatus) {
        return ApiResponse.prompt(BusinessCode.FAIL);
    }

    @Override
    public ApiResponse<List<DeviceExportDataVo>> getDeviceExportData(String modelId, String keywords, String deviceStatus) {
        return ApiResponse.prompt(BusinessCode.FAIL);
    }

    @Override
    public ApiResponse<DeviceListVo> getDeviceDetail(String deviceId) {
        return ApiResponse.prompt(BusinessCode.FAIL);
    }

    @Override
    public ApiResponse<DeviceInfoNewVo> getDeviceInfoNewVoByMac(String mac) {
        return ApiResponse.prompt(BusinessCode.FAIL);
    }
}
